const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
	transpileDependencies: true,
	lintOnSave: false,
	// 配置ajax跨域
	devServer: {
		proxy: {
			"/apis": {
				target: "http://172.17.5.45:9055", //api服务器的地址
				changeOrigin: true,
				pathRewrite: {
					"^/apis": "",
				},
			},
		},
	},
});
